<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=10">
    <link rel="shortcut icon" href="/static/favicon.ico?v=1" type="image/vnd.microsoft.icon"/>
    <title>Assembly</title>
    <script id="sap-ui-bootstrap"
            src="/static/js/libs/OpenUI5/sap-ui-core.js"
            data-sap-ui-libs="sap.m"
            data-sap-ui-theme="sap_bluecrystal"
            data-sap-ui-xx-bindingSyntax="complex"
            data-sap-ui-preload="async"
            data-sap-ui-compatVersion="edge"
            data-sap-ui-resourceroots='{"sap.m.bbf41.Module": "/static/js/app/Assembly/"}'
            data-sap-ui-frameOptions="trusted">
    </script>
    <script>
        var myFormatter = {
            setBackgroundColor: function (sValue, Type, o) {
                if(Math.abs(sValue) >= 0) {
                    var className = 'backgroundGreen';
                    if (sValue == 621) {
                        className = 'backgroundRed';
                    }
                    var id = this.getId();
                    var $elm = $('#' + id);
                    $elm.closest('td').addClass(className);
                }
                return sValue;
            }
        };
        sap.ui.getCore().attachInit(function () {
            new sap.ui.core.ComponentContainer({
                height: "100%",
                name: "sap.m.bbf41.Module"
            }).placeAt("content");
        });
    </script>
</head>
<!-- UI Content -->
<body class="sapUiBody sapUiSizeCozy" id="content" role="application">
</body>
</html>
